{% extends "polls/base.html" %}
{% block title %}<title>about</title>{% endblock %}
{% block body %}
<h3>{{ poll.question }}</h3>
<a href="{% url 'polls:detail' poll.id %}">Vote?</a>
<a href="{% url 'polls:edit' poll.id %}">Edit?</a>
<a href="{% url 'polls:index' %}">Back to Index</a>
<a href="{% url 'polls:about' %}">About</a>
<a href="{% url 'polls:create' %}">Create polls</a>
<a href="{% url 'polls:search_form' %}">Search</a>
<ul>
  {% for choice in poll.choice_set.all %}
  <li>{{ choice.choice_text }} -- {{ choice.votes }} vote {{ choice.votes|pluralize }}</li>
  {% endfor %}
</ul>
{% endblock %}